import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/view/home'
import Product from '@/view/product'
import News from '@/view/news'
import SaaS from '@/view/product/SaaS'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: "*",
      redirect: "/"
    },
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/product',
      name: 'Product',
      component: Product
    },
    {
      path: '/news',
      name: 'News',
      component: News
    },
    {
      path: '/saas',
      name: 'SaaS',
      component: SaaS
    }
  ]
})
